package com.pt5.pthouduan.entity;

public class PasskeyContext {
    private static final ThreadLocal<String> passkeyHolder = new ThreadLocal<>();

    public static void setPasskey(String passkey) {
        passkeyHolder.set(passkey);
    }

    public static String getPasskey() {
        return passkeyHolder.get();
    }

    public static void clear() {
        passkeyHolder.remove();
    }
}